/// UpdateNariaDto
class UpdateNariaDto {
  /// 核销订单id
  final int orderId;
  /// 更新后的奈拉数
  final int naira;

  UpdateNariaDto({
    required this.orderId,
    required this.naira,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['orderId'] = orderId;
    data['naira'] = naira;
    return data;
  }

  factory UpdateNariaDto.fromJson(Map<String, dynamic> json) {
    return UpdateNariaDto(
      orderId: json['orderId'],
      naira: json['naira'],
    );
  }
}